package secondStage.part1.extendsTest7;

/**
 * @ClassName: [Father]
 * @Description:
 * @Author: [黄劲松]
 * @CreateDate: [2021-02-08]
 * @Version: [v1.0]
 */
/*
Java中继承的注意事项
    ●Java中类只支持单继承，不支持多继承
    ●Java中类支持多层继承
*/
public class Father extends GrandDad {
    public void smoke() {
        System.out.println("爸爸爱抽烟");
    }
}
